package git.soulbgm.mapreduce.writable;

import git.soulbgm.mapreduce.utils.DriverUtil;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.io.IntWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Job;
import org.apache.hadoop.mapreduce.lib.input.FileInputFormat;
import org.apache.hadoop.mapreduce.lib.output.FileOutputFormat;

import java.io.IOException;

/**
 * @author SoulBGM
 * @date 2021/11/18 0:07
 */
public class FlowDriver {

    public static void main(String[] args) throws IOException, ClassNotFoundException, InterruptedException {
        DriverUtil.createDriver(
                FlowDriver.class, FlowMapper.class, FlowReducer.class,
                Text.class, FlowBean.class, Text.class, FlowBean.class,
                new Path(args[0]), new Path(args[1]));
    }



}
